<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <title>
            <?php echo __('Maxsimous And Domadeos') ?> 
            <?php include_slot('title') ?>
        </title>
        <link rel="shortcut icon" href="/images/test.jpeg" />
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
        <script language="javascript" type="text/javascript">
            var i18n = {
                "success": "<?php echo __('Success') ?>",
                'error': "<?php echo __('Error'); ?>",
                'inform': "<?php echo __('Information'); ?>",
                'worning': "<?php echo __('Worning') ?>",
                "Loading data": "<?php echo __('Loading data') ?>",
                "Please wait": "<?php echo __('Please wait') ?>"

            }
<?php if (has_slot('i18n')): ?>
                var i18 = <?php include_slot('i18n') ?>
                i18n = merge_options(i18n, i18)
<?php endif; ?>
            function __(key)
            {
                var word;
                if (i18n[key])
                {
                    word = i18n[key]
                }
                else
                {
                    word = key
                }
                return word;
            }
            function clearText(field)
            {
                if (field.defaultValue == field.value)
                    field.value = '';
                else if (field.value == '')
                    field.value = field.defaultValue;
            }
        </script>

    </head>
    <body>
        <div id="templatemo_wrapper">	
            <div id="templatemo_site_title_bar">

                <div id="site_title">
                    <h1>
                        <a href ="<?php echo url_for('/') ?>" target="_parent">
                            <img src="/images/229/logo.png" alt="Light Space" />
                            <!-- <span>free css templates</span> -->
                        </a>
                    </h1>
                </div>

                <ul class="social_network">
                    <li><a target="_parent"><img src="/images/229/facebook_icon.png" alt="facebook" /></a></li>
                    <li><a target="_parent"><img src="/images/229/linkin_icon.png" alt="linkin" /></a></li>	
                    <li><a target="_parent"><img src="/images/229/twitter_icon.png" alt="twitter" /></a></li>
                </ul>

            </div> <!-- end of templatemo_site_title_bar -->

            <div id="templatemo_menu">

                <ul>
                    <li><a class="<?php ?>" href="contact.html"></a></li>
                    <?php $currentModule = $sf_context->getModuleName(); ?>
                    <li><a class="<?php echo $currentModule == 'job' ? 'current' : '' ?>" href="<?php echo url_for('@SearchJobs') ?>"><?php echo __('Search Jobs') ?></a></li>
                    <li><a class="<?php echo $currentModule == 'job_request' ? 'current' : '' ?>" href="<?php echo url_for('@SearchJobsRequest') ?>"><?php echo __('Search Jobs Requests') ?></a></li>
                    <li><a class="<?php echo $currentModule == 'trip' ? 'current' : '' ?>" href="<?php echo url_for('@ShowTrips') ?>"><?php echo __('Search Trips') ?></a></li>
                    <li><a class="last <?php echo $currentModule == 'home' ? 'current' : '' ?>" href="<?php echo url_for('home/index') ?>"><?php echo __('Home') ?></a></li>
                </ul>    	

            </div> <!-- end of templatemo_menu -->

            <div id="templatemo_search">

                

            </div> <!-- end of search -->

            <div id="templatemo_banner">

                <div id="banner_left">

                    <h3><?php echo __('Maxsimous And Domadeos site for new jobs') ?></h3>
                    <p><?php echo __('Here you can add new job or request new job') ?> </p>
                </div>

                <div id="banner_right">

                    <div class="banner_button">
                        <a href="<?php echo url_for('@SearchJobs') ?>"><?php echo __('Search Jobs') ?></a>
                    </div>

                    <div class="banner_button">
                        <a href="<?php echo url_for('@SearchJobsRequest') ?>"><?php echo __('Search Jobs Requests') ?></a>
                    </div>

                    <div class="banner_button">
                        <a href="<?php echo url_for('ShowTrips') ?>"><?php echo __('Search Trips') ?></a>
                    </div>

                </div>

            </div> <!-- end of templatemo_banner -->

            <div id="templatemo_content_top">
                <div class="content">
                    <?php include_slot('title') ?>
                </div>
            </div>
            <div id="templatemo_content">
                <?php include_partial('global/messages') ?>
                <?php echo $sf_content ?>
            </div>
            <div id="templatemo_content_bottom"></div>

            <div id="templatemo_footer">

                <div class="cleaner_h40"></div>

                <center>
                   <a href=""><?php echo __('Maxsimous And Domadeos site for new jobs') ?></a> | 
                </center>

            </div> <!-- end of footer -->
        </div> <!-- end of wrapper -->
    </body>
</html>
